#ifndef CASHPLUSPLUS_H
#define CASHPLUSPLUS_H

#include <QtGui>
#include <QtSql>

namespace CashPlusPlus
{
	const QString DB_NAME = "accountgroup";
	const QString DATETIME_FORMAT = "M/d/yyyy h:mm:ss A";
	const double MAX_MONEY_MAGNITUDE = 999999.99;

	enum AccountTypes {CASH, FLEX, DOMER, BANK, OTHER};

	const int VERSION = 47;

	const double TOLERANCE = 1e-6;

	bool compareDoubles(double x, double y);

}

#endif // CASHPLUSPLUS_H
